package com.dingyh.shopwebbackground.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Tolerate;

/**
 * <p>
 * 
 * </p>
 *
 * @author dingyuhan
 * @since 2023-02-22
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
public class Coupons implements Serializable {

    @Tolerate
    public Coupons(){

    }

    private static final long serialVersionUID=1L;

    private String id;

    /**
     * 活动名称
     */
    private String name;

    /**
     *   { key: '200', value: '满200-20' },
  { key: '300', value: '满300-40' },
  { key: '500', value: '满500-70' },
     */
    private String efforts;

    private Long timeStart;

    private Long timeEnd;

    @TableField(exist = false)
    private String ifDelete;

}
